package com.shop.domain;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * ExtCproduct
 * Created by heqianqian on 2017/7/18.
 */
@Data
@NoArgsConstructor
public class ExtCproduct {

    private Long extCproductId;
    private String contractProId;
    private String factoryId;
    private String factoryName;
    private int cType;
    private String productNo;
    private String productImage;
    private String productDesc;
    private int cNumber;
    private String packingUnit;
    private double price;
    private double amount;
    private String productRequ;
    private int orderNo;

    public int getcType() {
        return cType;
    }

    public void setcType(int cType) {
        this.cType = cType;
    }

    public int getcNumber() {
        return cNumber;
    }

    public void setcNumber(int cNumber) {
        this.cNumber = cNumber;
    }

    public ExtCproduct(Long extCproductId, String contractProId, String factoryId) {
        this.extCproductId = extCproductId;
        this.contractProId = contractProId;
        this.factoryId = factoryId;
    }

    public ExtCproduct(Long extCproductId, String contractProId, String factoryId, String factoryName, int cType, String productNo, String productImage, String productDesc, int cNumber, String packingUnit, double price, double amount, String productRequ, int orderNo) {
        this.extCproductId = extCproductId;
        this.contractProId = contractProId;
        this.factoryId = factoryId;
        this.factoryName = factoryName;
        this.cType = cType;
        this.productNo = productNo;
        this.productImage = productImage;
        this.productDesc = productDesc;
        this.cNumber = cNumber;
        this.packingUnit = packingUnit;
        this.price = price;
        this.amount = amount;
        this.productRequ = productRequ;
        this.orderNo = orderNo;
    }
}
